<ul class="nav"><li class="col-sm-6" ng-repeat="cate in $ctrl.page.parentNavs track by $index"><span class="form-check form-switch"><input type="checkbox" ng-model="cate.isActived" id="cate_{{$index}}" class="form-check-input"> <label class="custom-control-label" for="cate_{{$index}}">{{cate.description}}</label></span></li></ul>